package android.bignerdranch.a2_1;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

public class UC5Activity extends AppCompatActivity {

    public Button uc5_btn;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.uc5);

        uc5_btn = (Button)findViewById(R.id.uc5_btn16);

        uc5_btn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent5 = new Intent();
                intent5.setClass(UC5Activity.this,MainActivity.class);
                startActivity(intent5);
            }
        });
    }
}
